package com.woniuxy.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import com.woniuxy.entity.User;

@Mapper
public interface UserDao {
	
	@Select("select * from user where uname=#{uname}")
	public User getUserByName(String uname);
}
